package com.fqgj.sentry.policy.domain;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: yujianfu (mr.vencnet@gmail.com)
 * Date: 2017/7/12
 * Time: 下午7:10
 */
public class PolicySet implements Serializable{

    private static final long serialVersionUID = 5472057258496344968L;
    private Long id;

    private String name;
    /**
     * 策略集编码
     */
    private String code;
    /**
     * 应用Id
     */
    private Long appId;
    /**
     * 事件ID
     */
    private Long eventId;
    /**
     * 是否通知告警人
     */
    private Integer isAlarm;
    /**
     * 说明
     */
    private String info;

    public Long getId() {
        return id;
    }

    public PolicySet setId(Long id) {
        this.id = id;
        return this;
    }

    public PolicySet setName(String name) {
        this.name = name;
        return this;
    }

    public PolicySet setCode(String code) {
        this.code = code;
        return this;
    }

    public PolicySet setAppId(Long appId) {
        this.appId = appId;
        return this;
    }

    public PolicySet setEventId(Long eventId) {
        this.eventId = eventId;
        return this;
    }

    public PolicySet setIsAlarm(Integer isAlarm) {
        this.isAlarm = isAlarm;
        return this;
    }

    public PolicySet setInfo(String info) {
        this.info = info;
        return this;
    }

    public String getName() {
        return name;
    }

    public String getCode() {
        return code;
    }

    public Long getAppId() {
        return appId;
    }

    public Long getEventId() {
        return eventId;
    }

    public Integer getIsAlarm() {
        return isAlarm;
    }

    public String getInfo() {
        return info;
    }
}
